Fan2D106FaceAlignmentModel
class Fan2D106FaceAlignmentModel(internalModel: OnnxInferenceModel, modelKindDescription: String?) : FaceAlignmentModelBase<BufferedImage> , InferenceModel
Content copied to clipboard
The light-weight API for solving Face Alignment task via Fan2D106 model.
Parameters
internalModel
model used to make predictions
Constructors
Fan2D106FaceAlignmentModel
Link copied to clipboard
Constructs the face alignment model from a given path.
Fan2D106FaceAlignmentModel
Link copied to clipboard
fun Fan2D106FaceAlignmentModel(internalModel: OnnxInferenceModel, modelKindDescription: String? = null)
Content copied to clipboard
Functions
detectLandmarks
Link copied to clipboard
initializeWith
Link copied to clipboard
open override fun initializeWith(vararg executionProviders: ExecutionProvider)
Content copied to clipboard
Initialize the model with the specified executions providers.
predictSoftly
Link copied to clipboard
open override fun predictSoftly(inputData: FloatArray, predictionTensorName: String): FloatArray
Content copied to clipboard
summary
Link copied to clipboard
Properties
inputDimensions
Link copied to clipboard
internalModel
Link copied to clipboard
modelKindDescription
Link copied to clipboard
preprocessing
Link copied to clipboard
open override val preprocessing: Operation<BufferedImage, Pair<FloatArray, TensorShape>>
Content copied to clipboard